package io.gitee.zhangbinhub.acp.cloud.hello.lock

import io.gitee.zhangbinhub.acp.cloud.lock.DistributedLock
import org.noear.solon.annotation.Component

@Component
class TestDistributedLock : DistributedLock {
    override fun getLock(lockId: String, timeOut: Long, reentrant: Boolean): Boolean {
        return true
    }

    override fun releaseLock(lockId: String) {

    }
}